import axios from '../util/axios'

export function getSingerList(params){
  return axios({
    url:'/admin/singer',
    method:'GET',
    params
  })
}

export function addSinger(params){
  return axios({
    url:'/admin/singer',
    method:'POST',
    params
  })
}

export function editSinger(params){
  return axios({
    url:'/admin/singer',
    method:'PUT',
    params
  })
}

export function deleteSinger(params){
  return axios({
    url:'/admin/singer',
    method:'DELETE',
    params
  })
}

export function updateShowNumber(params){
  return axios({
    url:'/admin/updateShowNumber',
    method:'PUT',
    params
  })
}


